package com.wxb.service.impl;

import com.wxb.domain.MallGoodsGalleryEntity;
import com.wxb.mapper.MallGoodsGalleryMapper;
import com.wxb.service.IMallGoodsGalleryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:27
 * @Version 1.0
 * @Description
 * @ClassName MallGoodsGalleryServiceImpl
 **/
@Service
public class MallGoodsGalleryServiceImpl implements IMallGoodsGalleryService {
    @Autowired
    private MallGoodsGalleryMapper goodsGalleryDao;


    public MallGoodsGalleryEntity queryObject(Integer id) {
        return goodsGalleryDao.queryObject(id);
    }


    public List<MallGoodsGalleryEntity> queryList(Map<String, Object> map) {
        return goodsGalleryDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return goodsGalleryDao.queryTotal(map);
    }


    public void save(MallGoodsGalleryEntity goods) {
        goodsGalleryDao.save(goods);
    }


    public void update(MallGoodsGalleryEntity goods) {
        goodsGalleryDao.update(goods);
    }


    public void delete(Integer id) {
        goodsGalleryDao.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        goodsGalleryDao.deleteBatch(ids);
    }
}
